package plantshop.controller.moves;

import java.io.Serializable;

import plantshop.model.Game;

public class DeletePlantMove extends TimeMove implements Serializable{
	private static final long serialVersionUID = 5986389849381456317L;
	private boolean where;
	private int disp;
	private int i;
	
	public DeletePlantMove(boolean where, int disp, int i){
		this.where = where;
		this.disp = disp;
		this.i = i;
	}
	
	@Override
	public void execute(Game game) {
		game.deletePlant(where, disp, i);
	}

}
